package com.ikunikun.service;

import com.ikunikun.dto.OrdersPaymentDTO;
import com.ikunikun.dto.OrdersSubmitDTO;
import com.ikunikun.vo.OrderPaymentVO;
import com.ikunikun.vo.OrderSubmitVO;

public interface OrderService {

	/**
	 * 提交订单
	 * @param ordersSubmitDTO
	 * @return
	 */
	OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    /**
     * 订单支付
     * @param ordersPaymentDTO
     * @return
     */
    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    /**
     * 支付成功，修改订单状态
     * @param outTradeNo
     */
    void paySuccess(String outTradeNo);

	/**
	 * 用户催单
	 * @param id
	 * @return
	 */
	void reminder(Long id);
}
